package org.example.maven.pojo.user.list;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
@Data
public class UserListTable {
    @ExcelProperty("用户id")
    private String id;
    @ExcelProperty("用户名")
    private String username;
    @ExcelProperty("姓名")
    private String realName;
    @ExcelProperty("电话")
    private String mobile;
    @ExcelProperty("部门")
    private String deptName;
    @ExcelProperty("职位")
    private String positionName;
    @ExcelProperty("用户状态")
    private Integer status;
    @ExcelProperty("用户创建时间")
    @DateTimeFormat(fallbackPatterns = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
}
